package cn.com.oceansoft.business.mobile.danger.service;

import cn.com.oceansoft.business.base.entity.Pager;
import cn.com.oceansoft.business.base.entity.Query;
import cn.com.oceansoft.business.base.entity.Result;
import cn.com.oceansoft.business.mobile.danger.entity.*;

import java.util.List;
import java.util.Map;

/**
 * Created by stt on 2018/4/27.
 */
public interface ICollecterService {

    Result collecterInfoSubmit(CollecterInfo collecterInfo);

    CollecterInfo findByOpenid(String openId);

    Pager<DangerContent> loadReportResultByPage(Query query);

    DangerContent getDangerContentById(String seqid);

    List<Map<String,Object>> getPhotoByDCId(String id);

    Pager<DangerContent> loadListWByPage(Query query);

    Pager<DangerContent> loadListYByPage(Query query);

    Pager<DangerContent> loadListWFByPage(Query query);

    Pager<DangerContent> loadListYFByPage(Query query);

    Result insertFlowInfo(FlowInfo flowInfo);

    FlowInfo getDangerContentByIdTime(String id);

    FlowInfo getYFkDetail(String id);

    List<Map<String,Object>> getPhotoFKByDCId(String id);

    String getYHByCode(String type);

    Result insertCfcs(Cfcs cfcs);

    Result insertZgcs(Zgcs zgcs);

    List<Map<String,Object>> getPhotoBytypeAndId(String type, String id);

    Cfcs getCfcs(String id);

    Zgcs getZgcs(String id);

    Result deletePic(String url);

}
